﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
using YouWei.Api.Filters;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using YouWei.Utility;

namespace YouWei.Api.Controllers
{
    /// <summary>
    /// 所有ApiController基类
    /// </summary>
    [APIExceptionFilter]
  //  [APIActionFilter]
    [ActionCORS]
    public class BaseApiController : ApiController
    {
        /// <summary>
        /// 默认时间
        /// </summary>
        protected DateTime DefultTime
        {
            get
            {
                return Convert.ToDateTime("1900-01-01");
            }
        }
    }
}
